-----------------------------------
--	Area: Zeruhn Mines
--	NPC:  Lasthenes
--	Working 100%
-----------------------------------

require("scripts/globals/settings");

-----------------------------------
-- onTrade Action
-----------------------------------

function onTrade(player,npc,trade)
end; 

-----------------------------------
-- onTrigger Action
-----------------------------------

function onTrigger(player,npc)

		if(player:hasKeyItem(257) == false) then
		player:setPos(-82,0,21,247);
		end;
		if(player:hasKeyItem(257) == true) then
		player:setPos(-76,0,19,242);		
		end;
end;

-----------------------------------
-- onEventUpdate
-----------------------------------

function onEventUpdate(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;

-----------------------------------
-- onEventFinish
-----------------------------------

function onEventFinish(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);

end;



